package com.longbo.demostudy.demo.smsVerification;

import java.util.Random;

public class VerifyConfig {
    public static final String BASE_URL = "https://api.miaodiyun.com/20150822";
    public static final String ACCCOUNT_SID = "b8533b5fbcdd445b8041f0e463997d";
    public static final String AUTH_TOKEN = "952ece5f5c634f75919b7516690a7d07";
    public static final String RESP_DATA_TYPE = "json";

    public static String runNumber(){
        String str="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
        StringBuilder sb=new StringBuilder(4);
        for(int i=0;i<4;i++)
        {
            char ch=str.charAt(new Random().nextInt(str.length()));
            sb.append(ch);
        }
        System.out.println(sb.toString());
        String code = sb.toString();
        return code;
    }

}
